/*package scantask.containers;

import scantask.client.threeDObjects.PolygonePool;
import scantask.containers.exceptions.InvalidMeasurementTypeException;
import scantask.containers.exceptions.UnInitializeObjectException;

public class Crop extends Measurement{
	
	private String _type;
	
	public Crop(Coordinate coordinate, ZoomLevel viewInterval, double value, WeekDate date, boolean interpolated, String type) throws UnInitializeObjectException, InvalidMeasurementTypeException {
		super(coordinate, viewInterval, value, date, interpolated);
		
		if (type.compareTo("") == 0) {
			scantask.server.utilities.logging.SingletonLogger.getLogger().warning("Failed construct new Crop illegal type");
			scantask.client.utilities.logging.SingletonLogger.getLogger().warning("Failed construct new Crop illegal type");
			throw new InvalidMeasurementTypeException();
		}
		
		this._type = type;
	}
	
	public Crop(Coordinate coordinate, ZoomLevel viewInterval, PolygonePool pool,  double value, WeekDate date, boolean interpolated, String type) throws UnInitializeObjectException, InvalidMeasurementTypeException {
		super(coordinate, viewInterval, pool, value, date, interpolated);
		
		if (type.compareTo("") == 0) {
			scantask.server.utilities.logging.SingletonLogger.getLogger().warning("Failed construct new Crop illegal type");
			scantask.client.utilities.logging.SingletonLogger.getLogger().warning("Failed construct new Crop illegal type");
			throw new InvalidMeasurementTypeException();
		}
		
		this._type = type;
	}


	@Override
	public String getType() {
		return "Measurement" + "\t" + "Crop" + "\t" + this._type;
	}
	
	public void setType(String type) throws InvalidMeasurementTypeException {
		if (type.compareTo("") == 0) {
			scantask.server.utilities.logging.SingletonLogger.getLogger().warning("Failed set Crop illegal type");
			scantask.client.utilities.logging.SingletonLogger.getLogger().warning("Failed set Crop illegal type");
			throw new InvalidMeasurementTypeException();
		}
		
		this._type = type;
	}

}
*/